package com.yc.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * @ClassName IndexController
 * @since: 2023/8/29 20:01
 * @auth: kirito
 * @description:
 **/
@Controller
public class IndexController {

    @RequestMapping(value = "/", method = {RequestMethod.GET, RequestMethod.POST})
    public String GotoIndex() {
//        System.out.println("访问首页地址********");
        return "redirect:/index.html";
    }
}
